Skip to content

Ignore SIGPIPE - #17370

Merged
sfan5 merged 1 commit into
luanti-org:masterfrom
sfan5:sigpipe
Jul 30, 2026
Merged

Ignore SIGPIPE#17370
sfan5 merged 1 commit into
luanti-org:masterfrom
sfan5:sigpipe

Conversation

@sfan5

@sfan5 sfan5 commented Jul 25, 2026

Copy link
Copy Markdown
Member

apparently all sensible libraries and applications (not CLI tools) do this

fixes #17366

To do

This PR is Ready for Review.

How to test

🤷

@sfan5 sfan5 added the Bugfix 🐛 PRs that fix a bug label Jul 25, 2026
@sfan5 sfan5 added this to the 5.17.0 milestone Jul 26, 2026
@sfan5 sfan5 added the Linux label Jul 27, 2026

@SmallJoker SmallJoker left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with kill -s SIGPIPE <LUANTI PID>

Thread 1 "luanti" received signal SIGPIPE, Broken pipe.
syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
warning: 38	../sysdeps/unix/sysv/linux/x86_64/syscall.S: Datei oder Verzeichnis nicht gefunden
(gdb) c
Continuing.

No side-effects found. LGTM.

@sfan5
sfan5 merged commit 593d2b4 into luanti-org:master Jul 30, 2026
20 checks passed
@sfan5
sfan5 deleted the sigpipe branch July 30, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SIGPIPE crash on Fedora with a specific set of mods

2 participants